package xyz.xtt.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资产扩展信息表
 * </p>
 *
 * @author author
 * @since 2025-01-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TblAssetExt implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 资产表ID
     */
    private Long assetId;

    /**
     * token_id
     */
    private Long tokenId;

    /**
     * 资产元数据
     */
    private String metadata;

    private String chainName;

    private String chainId;

    /**
     * 区块链高度
     */
    private String chainBlockNum;

    private String chainTxHash;

    /**
     * 上链时间
     */
    private Long chainTime;

    private String referProtocol;

    /**
     * 出售开始时间
     */
    private Long sellStartDatetime;

    /**
     * 出售结束时间
     */
    private Long sellEndDatetime;

    /**
     * 最新修改时间
     */
    private Long lastModifyDatetime;

    /**
     * 展示类型
     */
    private Integer showType;

    /**
     * 是否上链0:不上链,1:上链
     */
    private Integer upChain;

}
